connecting with errors