fix tag ref url error.
support for firefox.