fixed FF bug