Fix select environment version error