Fix error caused by partial commit