correction beug JS