Remove the grammar mistakes from the given sentence.
Since nuclear power does not generate carbon dioxide, it was once regarded as the best replacement of fossil fuels.
Since nuclear power does not generate carbon dioxide, it was once regarded as the best replacement for fossil fuels.