fixed commit num bug