fixed serializers, migrate_state