changing attribute names in refs, code and maxhelp