another fix to parsing