fix space completion