remove useless callbacks