Fixing valid role size.