Erase some useless callbacks