register in stread is unregister + register
added debugging
remove unregistration