On rigidity of Nichols algebras