fixed bug that was only saving one version of each module