solved the top node issue