apply some formating to the Erlang code