change debug2 to debugx