fixed config not being created (only updated)