fixes #14: fix uri encoding