fixed get/put item long name matching

Fixed get/put item long name matching to use the correct resources name.