fixes events