Fixing commit bug