fixed the history matching...