fix passed connection