fix preferenceHelper issue