bug in get_text