fixed serialization bug License