fix firefox issue