fixed security issues