fixed directory issue