since root attribute was removed there is no need to rely on it