Fixed the security holes