Fix warning recognitions