fixes edit tag