double searching fixed