remove too complicated editing code.