fixing 404 in getparents of root