Fixing bugs in search for ipad