correction bug offset