Fix type assumption for aText version code