fixes issue with filesearch