removing id from preferences