fix the edit on datasets