fixed directory not existing