fix config.hd issue in specified OS version