rest url fix