correct percent encoding