fix the edit option