fixes to appname in Key