Fixed a bug where the text returned was always the latest.