fixed bug in volume control