Perhaps CP_nr is out of range and act just happens to be the victim?