minor fixed for ZSS-315, prevent from null pointer.