corrected shared preffrence