fix examples after security changes