remove spaces in annotations