fixes to text positioning