preferences fix