change root dir parent id from -1 to 0