fix 2.6 issue with format specs