fix jar mode dependency