minor bug hotfixed
update: get thread offset api