fix selected version issue