Fixed replace for edit link