bug for same node entered fixed