Bug fix on commit command.