Changed currId to childId