stupid bug fix for real data