fixed FireFox issues.