locate error step 1