Issue #258

Randomizing items even the output is cached.
small changes