- fixed null pointer after serialize