fix conn drag
fix connection bug when changing relation model