remove unused settings for erlang mode
fix typo