remove the inner array