Fixed config

Had issues if no default settings were provided.