Solved an error if the response only contains one value