ensure position is saved