avoid printing the serialized result when the result is false