fixed bug regarding panel children index