modify condition type