Fixed some errors in jj file.