Fix commit bug