fixed bug. const directory