Fix SecurityException