Fix of the bug in visualLB.c