(CNN) -- House Republicans have been forced to close a potential loophole on their much-touted insider trading law -- a loophole CNN uncovered and reported about last month. Because of CNN's report, the Senate and House passed new legislation Thursday to close the loophole that could have allowed family members of some lawmakers to profit from inside information. Senators who were critical of the loophole after it was unearthed applauded the fix. The STOCK Act, one of the rare bipartisan bills passed this year, was signed by President Barack Obama in April. Obama signs STOCK Act to address 'deficit of trust' in Washington
@highlight
STOCK Act, passed in April, requires more transparency when lawmakers make trades
@highlight
Loophole would've allowed family of some lawmakers to profit from inside information
@highlight
CNN brought discrepancy between House and Senate interpretations to light last month
But when pressed with the new information uncovered by CNN, the majority leader's office conceded it made changes to the @placeholder bill that effectively took out the requirement for spouses and children to file these reports.