J2K: fixed duplicated open modifier generated