fix the constness of the operator ()