fixes issues with active items