fix sails gen