correction bug js