allow to modify enableoptions over eventlistener