removed useless code for the indirect receive callbacks