trying to fix url encoding issue