bug fix in visual