Fix errors with spaces before text