Fixed edit glitch