Remove useless events