fixed bug

fixed bug about superDir is undefined