fixed a few style problems
reformat erlang files to use only spaces for indent