fixes for #2721
fix error when no active roots