Fixed minor bug in config