fix number of thread
add dependencies in jar