changed item ids to item ptrs in action