fix sam installed version