remove unused constant events