fixed uncalled and -j bug