fix versioning handling