Fixed bug preventing installer from getting correct version

should be the last one for now