Fix the Security Static Code Analysis - set the length