fixed major security issues