Made a couple fixes to jj file