remove gap and anchor