got check in preferences working