fixed broken application name extraction