fixed new line for statements, works if statement has a previous statement (requires new line) or a surrounding parenting (no new line)