elevator: add patch for integer/array over-run