switched to old style string formatting for py < 2.7