eliminate 'value is out of bounds' err