These two were caused by dumb mistakes. Nuclear energy is safe when they are designed to fail safe when errors are made. Mistakes will always be made and we should always fail safe in these situations. That's why it's incredibly expensive to build them.