added security context checking fix