adjust exception throws in add_vol function