fix layer edit form