set default value instead of null
error on data get failure