try upgrading mongoose to 3.5.4