fixed connecting with proper constructor