correcting second resultSet