change visibility to display attr