delete unless space causing errors