clear data first before loading header and details in search