fixed error in advance_volume_ fn