key_commit: tweaks to fix address issue for length over 30 char