erblint: use conditional assignment