remove security manager prototype code, fix gh-22