bugfix: replaced = with ==