revers children array after removing it