some bugs fixed in the digedit