fixes with generation and storing of id, have to fix order form when
many restaurants are availabale