support nested submappers