Fixed security bug