version cleans up in serialization.c