fix ordering issue in subchilds