Remove line number to improve the robustness of the warning removal