Removing exceptions and wrong lines.