Cancel alert fix