* remove global varaible in annotation * remove todo * replace intransaction with withdbtransaction * fix typo