Fix bug where the wrong 10 callbacks are erased