Correctly reading settings