remove redundant new line