fixed a weired bug when send/3 is called instead of send/2