remove redundant empty lines from code