Fix offset issue.