fixed = in condition to ==