fixed visibility error