fix children directory path.