fix error in acm demo