fix resultset with 1 element.