root marker handling fix