fix small log format string mistake for adding subkeys

closes #768