Search api fixed