fix respond bug