solve the product resize problom perfectly!