Fix bug in config