fix search rendering