made format strings py2.6-compatible