address non-const compiler warning