fixed 'root' detection for weblogic