attempt to fix firefox bug