fixing failed correlations by providing directory