fix security bug on edit bride