fix mongoose key