fixed root directory erro