Fighting an epidemic of bad laws