edit pin define error