fixed #10: invalid encoded url