corrected hard coded url issues