fixed vis bug