fixed traverse offset bug