fix issue #7228 ec2_vol crash