fix get last commit