Fix bug null when call from childrend to parent class