fix for children ordering