Remove cdX from subname. fix #1524