fix the eidt bugs