partly fix of #35 . Now the edit transaction should still be fixed.