Fixed SIGSEGV while accessing directory