set tool visibility bug