fix #5536, specificity bug in varargs methods