core: fix base builder, needs inference