fix offline null value