wrapped settings assets in function, nulls on close