Bug with comparison == and assignation =