add default value for Condition.new and TpResult.new