add resize capture