sails generator bug fixes