Versions not being set. because of uninitizlized var