reset some things to make it usable again