fixes in escaping root dir