rm hack to overcome bug in parse tree construction