fix moongoose schema