remove space to output