fixed bug in FF version