make last commit a final var