fixing response type analisys