fix on search
added ResponseError struct