try fixin double teardown of database