fixing visualize