fixed NullPointerException on null value serialization