fix error with snippet dir conf