disable 'commit' api