fixed bugs about robot parentNode