Ultra high energy cosmic rays spectra in top-down models