fixes to retrieve the select response

Change-Id: I0bc7cc91a812442db6949e677104d3be5c900750