use the proper lenght when checking for process string size compliance