fixed mongoose model error