fix up Data.Text.init and Data.Text.last