fixing received response showing bug