fixed visualization exception