implements history view with required corrections in the patch