change function name to getText conflict