fix wrong name given to function, refs #201