refactor erlang-settings