Fix stats command.