fix firefox out of line bug