correct an amount of bugs