Fixed edit errors