first fix production parser