fixing parser error on py2.6