fixed the firefox display problem