issue #5893: delete spaces