Remove extra spaces from last CP