fix correlation in sample