solve re-init issue without using custom resize event (forceUpdate instead)