fixes add restaurant funcionality.