remove spaces around docs