properly reset private vars