fix restaurant mapping and pointers