Corrected bad security. Resolves #49