Fixed a bug with config options