fix the user serialize bug