fixed issue when volume is 0