fixed a dumb bug with 1d reverse