error output for wrong connection added