fixed exception in FF