small changes when loading preferences