corrected the the is_active attribute