fixed emacssmart