Fixed settings loading