fixed weird issue editing breakage