fix mongoose bug
move inite to base