remove deprecated event