fix some minor visibility issues