fix null pointer exc in ConnctedChcker