delete empty lines and comments