added debug MSG for java hack