fix check event bug