Fix for child id initialization