handle map sub types when specified