fixed some bug about the base module's transaction.