fix firefox BUG