fix installed version parsing