fix migrate of outputDirectory