tested version of invalidate_ideas