fix 2nd parent bug