visualization complete but exposed some bugs