don't parse when the header doesn't exist. fix #3