fix url issues