better error message when a name in cps is missing