add resize
before merge resize