corrected index error in random playlist