Avoid assignment in conditional context
Fix typo