fix bugs

fix bugs when download parttern with  *.html