add resize simulate