Got rid of errors during db resets