fix form edit (broken by form-locking)