fix to get random working again