fix last commit button does not appear