simplify correct_url: remove unnecessary code
corrected correct_url
version 0.1.8