support to firefox event handling
fix