change to inherit visible property #165