fix Issue 11596 - Internal error: backend/cgcs.c 351