workaround for ROOT-5781