correcting relative URLs