Landlord's noncompliance as a defense