fix multiple callbacks at a time