74hc595 shift reg - Turn off all outputs on arduino reset/startup/shutdown?

Thanks,
But as I wrote I already have a pull up resistor to pin13 of the 74hc595 (Output enable).
With this I can turn the output on and off, but in unexpected occasions, like when arduino stops / resets for an upload, the 74hc595 keeps the output open.