reset the structure