fixing a scope issue in done method
handling null order passed in hxArgs
removing comment