Fixed a major security bug