fix formatting issue on py2.6