url functionality corrected