converted == to = in where clause