lgtxt bugfix