bug in random pic setting

Signed-off-by: Tim Traver <ttraver@mivamerchant.com>