try to fix resize call