fix bug in extraction: constructed illegal Stratego AST