fix for appName as empty string