fix rep block delete