fix url encoding for values > 127