fix space name for single doc