fix mongoose version mismatch bug