Fixed bug in config