fix for fast search api endpoint