fix a bug in TransformationParser