Issue #297 deleting spaces