solve empty reply problem