fixing line spaces and formats