fix retractall & db_retractall & db_call