Fixed error message with invalid config file