fixing text display