jar scanner now working as expected