fix for reset after changing option dynamically