fix text type alias; close #2