solve commit bug