[fix] Fix to ROOT-6302