this should fix local versionsFrom in most cases and is technically right