search output fix