small bug fix on settings load