fixed #12: invalid encoded url