fix exteral url regexp, file name