fix for when parsing fails