corrected errors related to the final generated url