Fix double send bug