correction bug entity