fixing prop g code