avoid data service npe