fix invalid config
fix default vals in config window