fix model connections