fixed bug in getitemsbyrestaurant