fix parse_statements