lib resetting