added right check to node box upon rendering