fixed issue of connecting rooms