fix empty reply problem