fix for visualization arrays