fixed when no directory conf defined