let compile finish before commit next time