Fixed bug in firefox #2