fix bug in model:restaurant