Lawmakers look to fix tax code quirk