re-register stuff