Fix versions & metadata loading issue

Closes #171