AC: fix the issue with commit