reconnecting bugfix