fix idealize_jd2 binary sanity check