fix bug
shell to java