add volume out of bounds check