fixed issue with text rendering inproperly