get_liquor_amount_by_type() not working