bugs in parser and bre_tuple