fixed bug with hidden visualisation