connection state fix for null device