Tried to fix firefox bug