oops fix where clause