fix issue with initial state after define call in IE8