fix a bug in edit work