use src->path instead of path which is NULL