Fixed entry offset bug.