Fix resultSet