"We were surprised by the way Namdhari helped us recover the 7.62mm bore gun. Scrutiny revealed the code of the gun had been changed. An expert from Rampur has been detained and we are trying to trace Namdhari's son and a relative, who may have helped him tamper with it," a senior police officer, who did not wish to be identified, said.