limit resize type