remove unused prefecences