fix in the root wrapper