fix check for non-empty in item::amount_of