Bug with == instead of =