fixing schema versioning