Fixed incorrect offset