def and then send, should correct return bug