removes mongoose error helper