fixed saving of position to continue in future instances