change the frame for search