fixed Firefox state event issue