fix view events binding