Fixed the disabling of electric-pair-mode
cleaned up format