Fix active/inactive classes