fix: combined assignment and conditional