fix data edit