raise errors if database not reset