fixed serialize