version persistence bugfix