bug with the -j flag