ajax numbering fix if group exist use group instead of year