attempt 1 fix firefox bug