fixed missing nection bug