Fixing equal operation