Fixed config related errors.