reformat erlang files to use only spaces for indent
small fixes