Detecting error method is changed