support mongoose 3.5