remove unneeded empty lines + comments