fix event's views scan directive