Changed order of ll and addr before appName to fix error condition