fix ROOT-6066