chore(core): fix sails.lower() called twice