fix _do_done method to accept multiple records