'Hundreds of millions' to be spent retrofitting safety areas