fixing restaurant model errors