disabling visibility flag