url fixing (for client app, that don't run on the same host)