some refactoring; now fixing edgar report table not showing up in email