Refactor new line with space