updated exception to security exception