use property for preferences
this can remove some mistakes and duplications when adding new option for perferences