removed a bug in the tockenbucketmanager.