Correct offset gaps