apply some formatting to the Erlang code