revise offset mistake