Remove incorrect lines