Properly handle item parsing