fix no active transaction