fixed incorrect parameter type, missing return, call to release (ARC issue) and a deprecated call to UILineBreakModeWordWrap