fix connecting printf