Version Detection Bug Fix