fix security context example code