fixed visibility error in element view