fix space plugin