Version parsing bugfix