fix firefox bug

fix firefox bug