attempt #2 to fix the security exception