fixed the exemptions bug