fix connect image size issue