fix url encoding, we dont need an additional variable