Fixed crash in token pool