rollback the map to conn since name might get changed afterwards