change resize strategy