pocket: fixed bizarre recursion call