fixed bug with text on box