fix bug with output from info text