fixed fragment text visibility error