add input, fix missing jar dir