changes showvisibilty thing