Fix memory holes