bug fix in event bindings
add options binding