Fixed errors of getting versions of artifacts