add a penalty to formats that do not parse the entire input #818