fixed a bug in visualization holder calculation