set event to 1 to avls if operation error occur