minor fix (connection handler)