Fixed comparator, hadnle bad config file