refactored disable emots option