fix the eidt bug