Fix config loading