fixed deep leave of state-parent