Remove needless event handlings