Fixed bug in token distribution.