Fixed a bug where HAM needs to store application path into XML output.