fixes to open the jmx externally