fix space error