trying to fix a security exception