reset element for editing