minor changes to Sails