Fix $_commit using in api