check mongoError