Fixed bug that cause fail when no parent call