some modifications on send api