fix for abnormal configuration file (merge from v10 branch)
fix buggy spec