added option to disable event cancellation