workaround for security manager