where clause added instead of find by