remove unused events