#269 use bulk fetch for replace select