fixed bug with not uri encoding