Correcting href and debug display