cleanup on field editor