fix issue 285. don't repeat default values
Merge pull request #287 from xuwei-k/do-not-repeat-default-value

fix issue 285. don't repeat default values