firefox event bug corrected