error in visualization