Correct error message in makeDisplay()

Error message for “group” was still referring incorrectly to “name.”