enhance error message for cox reduction