correcting url creation