fixed bug related to new check while parsing config file