Some fixes for versioning via local storage