Fixed a bug in external_parsing