fix resize example