Fixed assignment instead of comparison