save correct offset