fixed a bug with first parameter not being placed onto a newline