fix nil error for quest items.