fixing bugs from rest search api, making cache disable