corrected sync errors in parsing