added resolve path to each directory