changed where = nil to ""