change attribute visibility