define max. character type properly