got perferences working again