Fix problem of directory value #8