added limits to the text label