fixed bug with jar loading