fix BoundStatement bug