restart type from previous values if set