deal with problem with prefService