add workaroud for resizing