Fixed MongoDB ID error