changing mac to upper case in graph