[BUG #8616] correct private optimization