fixes url format