fix unwanted recursion when parsing remote lists