substitute the CATextLayer by the uilabel category to address the problem of text alignment and success.