adjust the offset