fix directive generator path