fixed breakage caused by tidy (and my presumptive script)