Changed operator for cmp_ok from = to ==