added .to_s to item[defindex] in creater_player_items method