correct resize example