fixed duplicate html rendering when compute_fits.py is run with --onset