fixed: controller.isConnected