fix getvolume script